package com.liveinstars.im.domain.dao.mapper;

import com.liveinstars.im.domain.dao.model.ChatGroupMember;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 聊天群成员组织 Mapper 接口
 * </p>
 *
 * @author 8btc
 * @since 2020-03-31
 */
public interface ChatGroupMemberMapper extends BaseMapper<ChatGroupMember> {


    /**
     * 反向更新shield字段
     * @param userId
     * @param chatGroupId
     */
    void updateReverseShieldByUserIdAndChatGroupId(Long userId, Long chatGroupId);

}
